package com.swu.cx.alwayslearning.util

import com.swu.cx.alwayslearning.application.MyApp

object FileUtil {

    const val hardPath = "/storage/emulated/0/Android/data"
    const val PackagePath = "/com.swu.cx.alwayslearning"

    fun getRootPath(): String {
        return MyApp.appContext.getExternalFilesDir(null)?.absolutePath!!
    }

    fun getMainFilePath(): String {
        return "${getRootPath()}/files"
    }
}